12. General Strategies and CRP Diagrams
General Strategies and CRP Diagrams
INSTRUCTOR NOTE:
- Learn more about optimizing the Critical Rendering Path
- Review the Critical Rendering Path performance patterns
The script tag can also take a
defer
attribute, in the same way that it can take anasync
attribute. The difference is that withdefer
, the script waits to execute until after the document has been parsed, whereasasync
lets the script run in the background while the document is being parsed. Learn more about the script tag here.Check out the PageSpeed mobile analysis documentation on guidance for how to deliver a page that can be rendered in one second or less. To learn more about TCP Slow Start, check out Ilya's book, High Performance Browser Networking.
At the end of the course, you'll find a tough bonus question on TCP slow start. Give it a shot if you want to learn the math behind calculating how long files will take to download with TCP slow start.
Follow your instructors!
+Ilya Grigorik, @igrigorik
@cwpittman